package com.weichen.xd.data;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Dune on 2017/9/8.
 */

public class Air implements Parcelable {
    public static final Parcelable.Creator<Air> CREATOR = new Parcelable.Creator<Air>() {
        @Override
        public Air createFromParcel(Parcel source) {
            return new Air(source);
        }

        @Override
        public Air[] newArray(int size) {
            return new Air[size];
        }
    };
    /**
     * brf : 良
     * txt : 气象条件有利于空气污染物稀释、扩散和清除，可在室外正常活动。
     */

    @SerializedName("brf")
    private String brf;
    @SerializedName("txt")
    private String txt;

    public Air() {
    }

    protected Air(Parcel in) {
        this.brf = in.readString();
        this.txt = in.readString();
    }

    public String getBrf() {
        return brf;
    }

    public void setBrf(String brf) {
        this.brf = brf;
    }

    public String getTxt() {
        return txt;
    }

    public void setTxt(String txt) {
        this.txt = txt;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.brf);
        dest.writeString(this.txt);
    }
}
